<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--

	---------------------------
	Comic book costume designer
	---------------------------

    THE JAVASCRIPT COOKBOOK by Erica Sadun, webrx@mindspring.com
							   J. Brook Monroe, mrprogguy@techie.com
    Copyright (c)1998 by Charles River Media.  All Rights Reserved.
    
    This applet can only be re-used or modifed by license holders of the
    JavaScript Cookbook CD-ROM.  Credit must be given in the source
    code and this copyright notice must be maintained. If you do
    not hold a license to the JavaScript Cookbook, you may NOT
    duplicate or modify this code for your own use.

    Use at your own risk. No warranty is given or implied of the suitability 
    of this applet for any specific application. Neither Erica Sadun nor 
    Charles River Media will be held responsible for any unwanted effects 
    due to the use of this applet or any derivative. 
-->
<HTML>
<HEAD>
	<TITLE>COMIC.HTM</TITLE>
</HEAD>
<SCRIPT LANGUAGE="JavaScript"><!--
var headImage = "";
var torsoImage = "";
var trunkImage = "";
var legImage = "";
var bootImage = "";
var prefix = "../GRAFX/COSTUME/";
var imageWidth = 74;
var imageHeight = 28;
function Update()
{
	if(frames[0].document.open()) {
		frames[0].document.clear();
		frames[0].document.write('<HTML><BODY>');
		if(headImage == "")
			headImage = prefix+"HEAD_PRIME.GIF";
		frames[0].document.write('<IMG SRC="'+headImage+'" BORDER=0><BR>');
		if(torsoImage == "")
			torsoImage = prefix+"TORSO_PRIME.GIF";
		frames[0].document.write('<IMG SRC="'+torsoImage+'" BORDER=0><BR>');
		if(trunkImage == "")
			trunkImage = prefix+"TRUNKS_PRIME.GIF";
		frames[0].document.write('<IMG SRC="'+trunkImage+'" BORDER=0><BR>');
		if(legImage == "")
			legImage = prefix+"LEGS_PRIME.GIF";
		frames[0].document.write('<IMG SRC="'+legImage+'" BORDER=0><BR>');
		if(bootImage == "")
			bootImage = prefix+"BOOTS_PRIME.GIF";
		frames[0].document.write('<IMG SRC="'+bootImage+'" BORDER=0><BR>');
		frames[0].document.write('</BODY></HTML>');
	}
}

function SetBoots(what)
{
	bootImage = prefix+what+'.GIF';
	Update();
}

function SetHead(what)
{
	headImage = prefix+what+'.GIF';
	Update();
}

function SetTorso(what)
{
	torsoImage = prefix+what+'.GIF';
	Update();
}

function SetTrunks(what)
{
	trunkImage = prefix+what+'.GIF';
	Update();
}

function SetLegs(what)
{
	legImage = prefix+what+'.GIF';
	Update();
}

//-->
</SCRIPT>

<FRAMESET ROWS="100%" COLS="184,92,92,92,92,92,*">
	<FRAME NAME="Frame 1" SRC="DUMMY2.HTM" SCROLLING="AUTO">
	<FRAME NAME="Frame 2" SRC="HEADS.HTM" SCROLLING="AUTO">
	<FRAME NAME="Frame 3" SRC="TORSO.HTM" SCROLLING="AUTO">
	<FRAME NAME="Frame 4" SRC="TRUNKS.HTM" SCROLLING="AUTO">
	<FRAME NAME="Frame 5" SRC="LEGS.HTM" SCROLLING="AUTO">
	<FRAME NAME="Frame 6" SRC="BOOTS.HTM" SCROLLING="AUTO">
</FRAMESET>




</HTML>